package com.tem.product.service;

import com.tem.product.entity.CategoryAttribute;
import com.api.manage.pojo.product.CategoryAttributeBean;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 栏目属性 服务类
 * </p>
 * @author 陈辉
 * @since 2023-11-08
 */
public interface ICategoryAttributeService extends IService<CategoryAttribute> {
    /**
     * 获取单个目录属性
     * @param categoryId
     * @return
     */
    public List<CategoryAttributeBean> getByCategoryId(Long categoryId);

    /**
     * 一次性获取全部
     * @param categoryIds
     * @return
     */
    public List<CategoryAttributeBean> getByCategoryIds(List<Long> categoryIds);
}
